package com.banshuibao.bsb_android.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.banshuibao.bsb_android.R;
import com.banshuibao.bsb_android.util.GetLoginInfo;
import com.banshuibao.bsb_android.util.IntentManager;

public class MyVipCardBuyActivity extends BaseActivity implements View.OnClickListener {

    private TextView goVip;
    private String vip;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my_vip_card_buy);
        GetLoginInfo loginInfo = GetLoginInfo.getLoginInfoInstance(this).readUser();
        vip = loginInfo.getVip();
        initView();
    }

    public void initView(){
        setTitleText("我的会员卡");
        goVip = findViewById(R.id.goVip);
        goVip.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.goVip:
                IntentManager.goToVipActivity(this,"");
                break;
        }
    }
}
